FabricationNetworkChangeService.ChangeService
Description:
Changes the service of the selection of fabrication parts.
Changes the service of the selection of fabrication parts.
Remarks:
After this method has been invoked, call:
After this method has been invoked, call:
- GetStraightsThatWereNotChanged() to get a set of fabrication part straight element identifiers that were not changed.
- GetElementsThatFailed() to get a set of fabrication part element identifiers that had failures.
Overloads (2):
ChangeService(ISet[ElementId],Int32,Int32,Boolean)
public FabricationNetworkChangeServiceResult ChangeService(
ISet<ElementId> selection,
int serviceId,
int paletteId,
bool restrictPalette
)
-
ISet<ElementId>selectionThe set of element identifiers of fabrication parts to change the service for.
-
Int32serviceIdThe identifier of the fabrication service.
-
Int32paletteIdThe identifier of the fabrication palette.
-
BooleanrestrictPaletteRestrict the placement of parts to the passed in palette identifier.
-
The selection contains invalid elements to change.
-
A non-optional argument was null
-
No fabrication configuration is loaded.